const baseModel = () => import('@/views/baseModel/index.vue')
const projectManagement = () => import('@/views/baseModel/projectManagement/index.vue')
const projectManagementList = () => import('@/views/baseModel/projectManagement/pageList/index.vue')
const productManagement = () => import('@/views/baseModel/productMangement/index.vue')
const productManagementList = () => import('@/views/baseModel/productMangement/pageList/index.vue')
const productDetail = () => import('@/views/baseModel/productMangement/detail/index.vue')
const productList = () => import('@/views/baseModel/productMangement/productList/index.vue')
const capitalManagement = () => import('@/views/baseModel/capitalManagement/index.vue')
const capitalManagementList = () => import('@/views/baseModel/capitalManagement/pageList/index.vue')

export default {
  path: 'base-model',
  name: 'baseModel',
  component: baseModel,
  children: [
    {
      path: 'project-management',
      name: 'projectManagement',
      component: projectManagement,
      children: [
        {
          path: 'project-management-list',
          name: 'projectManagementList',
          component: projectManagementList,
          meta: {
            title: '项目管理',
          },
        },
      ],
    },
    {
      path: 'capitalt-management',
      name: 'capitalManagement',
      component: capitalManagement,
      children: [
        {
          path: 'capital-management-list',
          name: 'capitalManagementList',
          component: capitalManagementList,
          meta: {
            title: '资方管理',
          },
        },
      ],
    },
    {
      path: 'product-management',
      name: 'productManagement',
      component: productManagement,
      children: [
        {
          path: 'product-management-list',
          name: 'productManagementList',
          component: productManagementList,
          meta: {
            title: '产品管理',
          },
        },
        {
          path: 'product-detail',
          name: 'productDetail',
          component: productDetail,
          meta: {
            title: '详情',
          },
        },
        {
          path: 'product-list',
          name: 'productList',
          component: productList,
          meta: {
            title: '关联产品',
          },
        },
      ],
    },
  ],
}
